﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using BotvaBot.BusinessLayer.Configuration.Personaj;

namespace BotvaBot.Configuration.Personaj
{
    public class WarGildiaCfg : CustomConfigElementBase
    {
        [ConfigurationProperty("GildiaId")]
        public int GildiaId
        {
            get { return (int)base["GildiaId"]; }
        }

        [ConfigurationProperty("LetunId")]
        public int LetunId
        {
            get { return (int)base["LetunId"]; }
        }

        [ConfigurationProperty("LetunSet")]
        public GenericConfigElementCollection<LetunCfg> LetunSet
        {
            get
            {
                return base["LetunSet"]
                    as GenericConfigElementCollection<LetunCfg>;
            }
        }
    }
}
